lib/repo: do no return a NULL on failure
authorLuca BRUNO <luca.bruno@coreos.com>
Tue, 7 Dec 2021 16:20:49 +0000 (16:20 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Tue, 7 Dec 2021 16:24:56 +0000 (16:24 +0000)
commit58bdfb90c98cd4189fd78e5499f77fc3d5ee3adc
tree4dcad17e9a9e3643d490c000b7c314eb4370ea5e
parent4a0ebe507fae41e7f080e15c492f629fdeeaf4ca
lib/repo: do no return a NULL on failure

This turns an existing check into an assert. The previously returned
NULL may result in confusing callers, as none of them is checking for
that.
src/libostree/ostree-repo.c